////////////////////////////////////////////////////////////////////////////////
// Filename: ModelPostureLink.h
////////////////////////////////////////////////////////////////////////////////
#ifndef _ModelPostureLINK_H_
#define _ModelPostureLINK_H_

#include <vector>
#include <map>
#include <d3d11.h>
#include <xnamath.h>

class Model3D;
class ModelPostureBone;
class ModelPosture;

class ModelPostureLink
{
public:
	ModelPostureLink();
	ModelPostureLink(const ModelPostureLink&);
	~ModelPostureLink();

	void Initialize(Model3D* model, ModelPosture* posture);

	XMFLOAT4X4 GetTranformByMeshIndex(int pMeshIndex);
	ModelPostureBone* GetModelPostureBoneByMeshIndex(int pMeshIndex);
protected:
	int mModelPostureBonesCount;
	ModelPostureBone** mModelPostureBones;
};

#endif